package com.government.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.government.common.annotation.Excel;
import lombok.Data;

import java.util.Date;

/**
 * 站内信对象 t_im_mail
 * 
 * @author system
 * @date 2023-11-10
 */
@TableName("t_message")
@Data
public class Message
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.AUTO )
    private Long id;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 发送对象 */
    @Excel(name = "手机号")
    private String phone;

    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


}
